<!DOCTYPE html>
<html lang="cn">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style type="text/css"></style>
    <script src="./jquery-3.3.1.min.js"></script>
</head>
<body>
    <h1>Jquery</h1>
    <hr>
    <button>点我啊~~</button>

    <script>
        $('h1').css('color','#f90').css('font-size', '100px');
        
        // 绑定事件 
        $('button').click(function(){
            // $('h1').css('display','none');
            $('h1').toggle(2000);
        });

    </script>



</body>
</html>



